import request from '@/utils/request'

// 查询评价评分信息设置列表
export function listServArea(query) {
  return request({
    url: '/system/servArea/list',
    method: 'get',
    params: query
  })
}

// 查询评价评分信息设置详细
export function getServArea(areaType) {
  return request({
    url: '/system/servArea/' + areaType,
    method: 'get'
  })
}

// 新增评价评分信息设置
export function addServArea(data) {
  return request({
    url: '/system/servArea',
    method: 'post',
    data: data
  })
}

// 修改评价评分信息设置
export function updateServArea(data) {
  return request({
    url: '/system/servArea',
    method: 'put',
    data: data
  })
}

// 删除评价评分信息设置
export function delServArea(areaType) {
  return request({
    url: '/system/servArea/' + areaType,
    method: 'delete'
  })
}
